﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package GameMode {
    import Classes.*;

    public class GMEdit extends GMDefault {

        private static var lock:int = 0;

        public static function addLock():void{
            lock++;
        }
        public static function removeLock():void{
            if (lock > 0){
                lock--;
            };
        }
        public static function get isLocked():Boolean{
            return ((lock > 0));
        }

        override protected function isObjectHighlightable(_arg1:GameObject):Boolean{
            return (isObjectSelectable(_arg1));
        }

    }
}//package GameMode 
